package boardgamer.common.net;

import static com.google.common.base.Preconditions.checkNotNull;


public class SimplePlayerId extends PlayerId {

  private final String name;

  public SimplePlayerId(String name) {
    this.name = checkNotNull(name, "name");
  }

  @Override
  public String getName() {
    return name;
  }
}
